# -*- coding: UTF-8 -*-
# @File : client.py
# @IDE     : VScode
# @Author  : zhonggc
# @Date    : 2024/05/24 16:33:21

from langserve import RemoteRunnable

remote_chain = RemoteRunnable("http://localhost:8000/chain/")
response = remote_chain.invoke({"language": "italian", "text": "hi"})
print(response)
